﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <h1>欢迎登陆！！！！</h1>
        <form method="post">
            <p>账号<input type="text" name="name" /></p>
            <p>评分<input type="text" name="score" /></p>
            <p>评论<input type="text" name="comment" /></p>
            <button type="submit">提交</button>
        </form>
        @if (ViewBag.Name != null)
        {
            <h1>登录成功！欢迎你: @ViewBag.Name</h1>
            <h1>你的评分: @ViewBag.Score</h1>
            <h1>你的评论: @ViewBag.Comment</h1>

        }
    </div>
</body>
</html>
